package com.animal.controller;


import com.animal.entity.pojo.AGoodsyy;
import com.animal.service.GoodsyyService;
import org.springframework.stereotype.Controller;

import org.springframework.web.bind.annotation.RequestMapping;


import javax.annotation.Resource;


@Controller
@RequestMapping("goodsyy")
public class GoodsyyController {

    @Resource
    private GoodsyyService goodsyyService;

    @RequestMapping("insertAG")
    public String insertAG(AGoodsyy aGoodsyy){
        boolean flag = goodsyyService.addyy(aGoodsyy);
        return "index";
    }

}
